package com.cloudkinto.service.firstvesselorder.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/9/16 10:16
 * @description:
 */
@Data
public class FirstVesselOrderDetailRes {
    private Long id;

    /**
     * 订单号
     */
    private String orderNumber;

    /**
     * 状态来自码表（头程自发订单状态状态）
     */
    private String status;
    private String resultStatus;

    /**
     * 入货仓库
     */
    private Long storageId;
    private String storageName;

    /**
     * fba仓库
     */
    private Long fbaStorageId;
    private String fbaStorageName;

    /**
     * 报关资料
     */
    private Long declarationInformationFileId;
    private String declarationInformationFileUrl;

    /**
     * 报关凭证
     */
    private Long declarationCertificateFileId;
    private String declarationCertificateFileUrl;

    /**
     * 1:是0:否
     */
    private Integer isCloudkintoExport;
    private String isCloudkintoExportName;

    /**
     * 清关抬头
     */
    private String dutyParagraph;

    /**
     * 运输方式：来自码表
     */
    private Long logisticsType;
    private String logisticsTypeName;

    /**
     * 报关方式 1：退税报关 2：非退税
     */
    private Integer customsType;
    private String customsTypeName;

    /**
     * 是否购买保险
     */
    private Integer isPurchaseOfInsurance;
    private String isPurchaseOfInsuranceName;

    /**
     * 清关资料
     */
    private Long customsClearanceFileId;
    private String customsClearanceFileUrl;

    /**
     * 配送方式1：上门取件 2送货到仓
     */
    private Integer distributionType;
    private String distributionTypeName;

    /**
     * 送货时间
     */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date deliverTime;

    /**
     * 保额
     */
    private Double coverage;

    private Double coverageFee;

    /**
     * 备注
     */
    private String remark;

    /**
     * 取件时间
     */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date pickDate;

    /**
     * 取件区间
     */
    private String pickTime;

    /**
     * 取件地址
     */
    private String receiveAddress;

    /**
     * 联系方式
     */
    private String contactInformation;

    /**
     * 商品箱标
     */
    private Long commodityFileId;
    private String commodityFileUrl;

    private List<FirstVesselOrderPackageDetailRes> packageList;
}
